export default {
    mutations: {
        addPoint({ curComponent }, point) {
            curComponent.points.push(point)
        },

        removePoint({ curComponent }, index) {
            curComponent.points.splice(index, 1)
        },
    },
}